package com.effectiv.gooruda.repository;

import java.util.List;

import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import com.effectiv.gooruda.domain.Application;
import com.effectiv.gooruda.domain.CloudQueue;


@Repository
public interface CloudQueueRepository extends MongoRepository<CloudQueue, String>{
	
	
	List<CloudQueue> findByApplication(Pageable page, Application application);
	CloudQueue findByCname(String queueName);
	
}
